package com.ttc.group2.videochat.utils;

import android.text.SpannableStringBuilder;
import android.view.View;

public class ViewUtil {

	public static SpannableStringBuilder getSpannableBuilder(CharSequence param1, CharSequence param2) {
		return new SpannableStringBuilder(param1 + "\n" + param2);
	}
	
	public static <T extends View> View findViewById(View paramView, int paramId) {
		return paramView.findViewById(paramId);
	}
	
	public static void setAttrView(View...paramArgs) {
		int i = paramArgs.length;
		for (int j = 0; j < i; j++) {
			View view = paramArgs[i];
			view.setFocusable(false);
			view.setFocusableInTouchMode(false);
			view.setClickable(false);
		}
	}
}
